package com.hunan.api.catv.entity.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CatvOrderVo implements Serializable {
    /**
     * 订单号
     */
    private Long orderId;

    /**
     * 下单会员
     */
    private Integer memberId;

    /**
     * 创建时间
     */
    private Date cTime;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 下单ip
     */
    private String ip;

    /**
     * 下单名称
     */
    private String title;

    /**
     * 内容id
     */
    private Integer itemId;

    /**
     * 内容类型 1现金支付 2积分支付
     */
    private Integer itemType;

    /**
     * 订单支付时间
     */
    private String itemName;

    /**
     * 购买数量
     */
    private Integer itemNum;

    /**
     * 订单关闭:-1。待支付:0 正在发放1 已完成
     */
    private Integer state;

    /**
     * 描述
     */
    private String stateMsg;

    /**
     * 支付状态-1无需支付 0待支付 1已支付
     */
    private Integer payState;

    private String payStateMsg;

    /**
     * 支付时间
     */
    private Long payTime;

    private static final long serialVersionUID = 1L;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getItemType() {
        return itemType;
    }

    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName == null ? null : itemName.trim();
    }

    public Integer getItemNum() {
        return itemNum;
    }

    public void setItemNum(Integer itemNum) {
        this.itemNum = itemNum;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getPayState() {
        return payState;
    }

    public void setPayState(Integer payState) {
        this.payState = payState;
    }

    public String getStateMsg() {
        return stateMsg;
    }

    public void setStateMsg(String stateMsg) {
        this.stateMsg = stateMsg == null ? null : stateMsg.trim();
    }


    public String getPayStateMsg() {
        return payStateMsg;
    }

    public void setPayStateMsg(String payStateMsg) {
        this.payStateMsg = payStateMsg == null ? null : payStateMsg.trim();
    }

    public Long getPayTime() {
        return payTime;
    }

    public void setPayTime(Long payTime) {
        this.payTime = payTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", memberId=").append(memberId);
        sb.append(", cTime=").append(cTime);
        sb.append(", amount=").append(amount);
        sb.append(", ip=").append(ip);
        sb.append(", title=").append(title);
        sb.append(", itemId=").append(itemId);
        sb.append(", itemType=").append(itemType);
        sb.append(", itemName=").append(itemName);
        sb.append(", itemNum=").append(itemNum);
        sb.append(", state=").append(state);
        sb.append(", stateMsg=").append(stateMsg);
        sb.append(", payState=").append(payState);
        sb.append(", payStateMsg=").append(payStateMsg);
        sb.append(", payTime=").append(payTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}